// components/FormId/formId.js
const app = getApp(),
  $extConfig = xhs.getExtConfigSync(),
  $config = require("../../config.js"),
  appId = $extConfig.appId || $config.appId;
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    percent: {
      type: String,
      value: '100'
    },
    percents: {
      type: String,
      value: 'auto'
    },
    isSqdl: {
      type: Boolean,
      value: false
    }
  },
  /**
   * 组件的方法列表
   */
  methods: {
    autoOpen() {
      this.setData({
        isSqdl: true
      });
    },
    getUserInfo(e) {
      this.setData({
        isShowInfo: true
      });
    }
  }
});